package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 微信推送记录
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("wechars_push_log")
@ApiModel(value = "WecharsPushLog对象", description = "微信推送记录")
public class WecharsPushLog implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("openid")
    private String openid;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("季度")
    private Integer quarterNum;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("1成绩录入推送")
    private Integer type;

    @ApiModelProperty("推送次数")
    private Integer count;

    @ApiModelProperty("添加日期")
    private LocalDate addDate;

    private LocalDateTime createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }
    public Integer getYearPart() {
        return yearPart;
    }

    public void setYearPart(Integer yearPart) {
        this.yearPart = yearPart;
    }
    public Integer getQuarterNum() {
        return quarterNum;
    }

    public void setQuarterNum(Integer quarterNum) {
        this.quarterNum = quarterNum;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
    public LocalDate getAddDate() {
        return addDate;
    }

    public void setAddDate(LocalDate addDate) {
        this.addDate = addDate;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "WecharsPushLog{" +
            "id=" + id +
            ", openid=" + openid +
            ", yearPart=" + yearPart +
            ", quarterNum=" + quarterNum +
            ", content=" + content +
            ", remark=" + remark +
            ", type=" + type +
            ", count=" + count +
            ", addDate=" + addDate +
            ", createdAt=" + createdAt +
        "}";
    }
}
